#include "ffmpeg_base.h"
#include "save_image.h"

int save_image(const char* filename, uint8_t* rgb_buf, int32_t width, int32_t height)
{
    return save_image_jpg(filename, rgb_buf, width, height) == true ? 1 : 0;
}